package com.zhiyou.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zhiyou.model.FyTeacher;

public interface TeacherMapper {
	
	
	//老师登录
	FyTeacher loginTeacher(@Param("teacher_phone")String tacher_phone,@Param("password")String password);
	//查询全部老师
	List<FyTeacher> selectAllTeacher();

	//根据id查询老师
	FyTeacher selectByTeacherid(@Param("teacher_id")Integer teacher_id);
	
	//修改登录密码(老师)
	void updateTpass(FyTeacher Teacher);
	
	//修改手机号(老师)
	void updateTpho(FyTeacher Teacher);
	
	//忘记密码
	void Tfoget(@Param("teacher_phone")String teacher_phone,@Param("password")String repassword);
	
	//修改支付密码
	void TupdatePay(FyTeacher teacher);
	
	//修改头像
	void updateHead(FyTeacher fyTeacher);
	
	
	
	
	
	
	

}
